package com.xh.bussiness.system.service;



import com.xh.bussiness.system.bean.request.GroupSubjectRequest;
import com.xh.bussiness.system.model.GroupSubject;
import com.xh.core.service.IBaseService;
import com.xh.core.bean.XhPage;

import java.util.List;

/**
 * <p>
 * 用户组学科关系 服务类
 * </p>
 *
 * @author Pitt
 * @since 2020-11-23
 */
public interface IGroupSubjectService extends IBaseService<GroupSubject> {

    /**
     * 分页查询方法
     * @param page
     * @param bean
     * @return
     */
    public XhPage queryGroupSubjectPage(XhPage page, GroupSubjectRequest bean);

    /**
     * 查询方法
     * @param bean
     * @return
     */
    public List queryGroupSubject(GroupSubjectRequest bean);

    List<GroupSubject> queryGroupSubjectByGroupId(String groupId);

    boolean deleteGroupSubjectByGroupId(String groupId);

    List<String> queryGroupSubjectCodeByUserId(String userId);
}
